﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="SBHotNews.ascx.cs" Inherits="Controls_SBHotNews" %>
<div class="news_top">
    <h3 runat="server" id="ctTitle">
        <%if (Lang)
          {%>
        NEWS
        <%}
          else
          { %>
        TIN TỨC
        <%} %>
    </h3>
    <asp:Repeater runat="server" ID="rptData">
        <ItemTemplate>
            <div class="slimpaco3">
                <a href='/tin-tuc/<%#DigiLib.StringUtils.RemoveUnicode(Eval("FULL_ARTICLE_TITLE").ToString(),"-") + "-c" + Eval("CATEGORY_ID").ToString() + "a" + Eval("ARTICLE_ID").ToString() %>.htm'>
                    <img src="/upload/<%#Eval("THUMB_IMG") %>" alt="addcomm" /></a>
                <h2>
                    <a href='/tin-tuc/<%#DigiLib.StringUtils.RemoveUnicode(Eval("FULL_ARTICLE_TITLE").ToString(),"-") + "-c" + Eval("CATEGORY_ID").ToString() + "a" + Eval("ARTICLE_ID").ToString() %>.htm'>
                        <%#DigiLib.StringUtils.Substring( Eval("FULL_ARTICLE_TITLE").ToString(),0,30) %></a></h2>
                <p>
                    <%#DigiLib.StringUtils.Substring( Eval("FULL_ARTICLE_DESCRIPTION").ToString(),0,100) %>
                </p>
            </div>
        </ItemTemplate>
    </asp:Repeater>
</div>
<!--End .news_top-->
